# Restart JMS Server and Queue manager
sudo service jmsservice restart

# Restarting again because sometimes agents fail to connect
sudo service jmsservice restart
